package com.fdd.op.sdk.domain;

import com.fdd.op.sdk.BaseObject;
import com.fdd.op.sdk.internal.mapping.ApiField;
import com.fdd.op.sdk.internal.mapping.ApiListField;

import java.util.Date;
import java.util.List;

/**
 * 账号信息
 *
 * @version 2.0.0
 * @author: Fadada
 * @date: 2022/6/7
 */
public class AccountInfo extends BaseObject {
    /**
     * 用户在当前系统的唯一标识
     */
    @ApiField("accountId")
    private String accountId;

    /**
     * 用户在第三方业务系统的唯一标识
     */
    @ApiField("tpAccountId")
    private String tpAccountId;

    /**
     * 用户姓名
     */
    @ApiField("userName")
    private String userName;

    /**
     * 区号
     */
    @ApiField("areaCode")
    private String areaCode;

    /**
     * 用户手机号
     */
    @ApiField("mobile")
    private String mobile;

    /**
     * 用户邮箱
     */
    @ApiField("email")
    private String email;

    /**
     * 认证状态：0未实名,1已实名
     */
    @ApiField("verifyStatus")
    private String verifyStatus;

    /**
     * 用户类型：0外部, 1内部
     */
    @ApiField("insideFlag")
    private String insideFlag;

    /**
     * 所属企业信息
     */
    @ApiListField("companyInfo")
    @ApiField("companyInfo")
    private List<Company> companyInfo;

    /**
     * 创建时间,格式yyyy-MM-dd HH:mm:ss
     */
    @ApiField("createdDate")
    private Date createdDate;

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getTpAccountId() {
        return tpAccountId;
    }

    public void setTpAccountId(String tpAccountId) {
        this.tpAccountId = tpAccountId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getVerifyStatus() {
        return verifyStatus;
    }

    public void setVerifyStatus(String verifyStatus) {
        this.verifyStatus = verifyStatus;
    }

    public String getInsideFlag() {
        return insideFlag;
    }

    public void setInsideFlag(String insideFlag) {
        this.insideFlag = insideFlag;
    }

    public List<Company> getCompanyInfo() {
        return companyInfo;
    }

    public void setCompanyInfo(List<Company> companyInfo) {
        this.companyInfo = companyInfo;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }
}
